#%RAML 0.8

title: full api
version: 1.0

schemas:
    UserJson: |
          {
             "$schema": "http://json-schema.org/draft-04/schema",
             "type": "object",
             "properties": {
               "firstname":  { "type": "string" },
               "lastname":  { "type": "string" },
               "age":  { "type": "integer" }
             },
             "required": [ "firstname", "lastname" ]
          }

    UserXml: |
       <xs:schema attributeFormDefault="unqualified"
                  elementFormDefault="qualified"
                  xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="api-request">
           <xs:complexType>
             <xs:sequence>
               <xs:element type="xs:string" name="input"/>
             </xs:sequence>
           </xs:complexType>
         </xs:element>
       </xs:schema>
